package com.moyu.common.security.exception;

import com.moyu.common.core.enums.ResultCode;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author 赵彦博
 * @Date 2025/3/25 20:40
 */
@Getter
public class ServiceException extends RuntimeException {

    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

}
